<template>
  <div>
    <el-card class="box-card">
      <div slot="header" class="clearfix">
        <span>筛选查询</span>
        <el-button style="float: right; padding: 3px 0" type="primary" @click="onSubmit"
          >查询结果</el-button
        >
      </div>
 
      <el-form :inline="true" :model="searchData" class="demo-form-inline">
         <!-- 姓名 -->
        <el-form-item label="姓名：" prop="user">
          <el-input v-model="searchData.user" placeholder="输入姓名"></el-input>
        </el-form-item>
        <!-- 面试反馈 -->
        <el-form-item label="面试反馈：" prop="feedback">
          <el-select v-model="searchData.feedback">
            <el-option label="录用" value="employment"></el-option>
            <el-option label="不合格" value="pass"></el-option>
          </el-select>
        </el-form-item>
        <!-- 查询(待定) 后续可能会转到上面查询结果上 -->
        <!-- <el-form-item>
          <el-button type="primary" @click="onSubmit">查询</el-button>
        </el-form-item> -->
      </el-form>
    </el-card>
  </div>
</template>

<script>
export default {
  data() {
    return {
      searchData: {
        user: "",
        feedback: "",
      },
    };
  },
  methods: {
    onSubmit() {
      console.log("submit!");
    },
  },
};
</script>

<style lang="scss" scoped>


.clearfix:before,
.clearfix:after {
  display: table;
  content: "";
}
.clearfix:after {
  clear: both;
}

.box-card {
  width: 1050px;
  margin: 10px;
  //    background-color: #f2f2f2;
}
.el-form{
    height: 30px;
    line-height: 30px;
}
</style>